//
//  RequestData.h
//  RequestData
//
//  Created by dllo on 16/1/7.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AFNBlock)(id resuposeObject);

@interface RequestData : NSObject

/**无敌版 GET 或 POST (AFN)*/
+ (void)creatingDataTask : (NSString *)url
              parameters : (NSDictionary *)parameters
                  Cookie : (NSString *)cookie
               User_Agent: (NSString *)user_Agent
          successAFNBlock:(AFNBlock)block;

/** GETQ请求数据_海腾 */
+ (void)GETRequestWithURLString:(NSString *) URLString completionWithSuccess:(void(^)(id result))success WithFailure:(void (^)(id error))failure;



@end
